import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)

// pinia
import store from '@/stores/index'
app.use(store)

// 注册路由
import router from './router'
app.use(router)

// 引入全局方法
import * as utils from '@/utils'
app.config.globalProperties.$utils = utils

app.mount('#app')
